/***********************************************************************/
/* Open Visualization Data Explorer                                    */
/* (C) Copyright IBM Corp. 1989,1999                                   */
/* ALL RIGHTS RESERVED                                                 */
/* This code licensed under the                                        */
/*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
/***********************************************************************/

#include <dxconfig.h>
#include "../base/defines.h"

#ifndef _LabeledStandIn_h
#define _LabeledStandIn_h

#include "StandIn.h"

//
// Class name definition:
//
#define ClassLabeledStandIn "LabeledStandIn"

//
// LabeledStandIn class definition:
//

class LabeledStandIn : public StandIn
{
 private:
  static boolean ClassInitialized;

  //
  // Private member data:
  //

 protected:
  //
  // Protected member data:
  //
  static String DefaultResources[];
  virtual const char *getButtonLabel();

  //
  // Constructor:
  //
  LabeledStandIn( WorkSpace *w, Node *node );

 public:
  //
  // Allocator that is installed in theSIAllocatorDictionary
  //
  static StandIn *AllocateStandIn( WorkSpace *w, Node *n );

  //
  // Destructor:
  //
  ~LabeledStandIn();

  virtual void initialize();

  //
  // Returns a pointer to the class name.
  //
  const char *getClassName()
  {
    return ClassLabeledStandIn;
  }
};

#endif  // _LabeledStandIn_h
